package com.lg.dborder2.mapper;

import com.lg.dborder2.model.SysRole;
import com.lg.dborder2.model.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper {
    List<SysUser> selectAll();
    SysUser selectById(Long id);
    List<SysRole> selectRoleByUserId(Long userId);
    Integer insert(SysUser sysUser);
}
